home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / kms20src.lha / KMSC / kms_protos.h < prev    next >
Text File  |  1995-05-06  |  12KB  |  335 lines

  1.  
  2. /* MACHINE GENERATED */
  3.  
  4.  
  5. /* access.c             */
  6.  
  7. Prototype UBYTE CheckAccess(struct AreaNode *);
  8. Prototype struct ACLNode *CheckACL(UWORD, STRPTR);
  9. Prototype struct ACLNode *InsertACL(STRPTR);
  10. Prototype VOID RemoveACL(struct ACLNode *);
  11. Prototype VOID ListACL(VOID);
  12. Prototype VOID EditACL(STRPTR);
  13. Prototype BOOL EditACLInfo(struct ACLNode *);
  14. Prototype VOID DeleteACL(STRPTR);
  15. Prototype VOID ListBitNames(VOID);
  16. Prototype BOOL EditBitNames(VOID);
  17.  
  18. /* areas.c              */
  19.  
  20. Prototype struct AreaNode *SetArea(UWORD);
  21. Prototype UMSMsgNum SelectArea(STRPTR);
  22. Prototype struct AreaNode *InsertArea(VOID);
  23. Prototype VOID DeleteArea(struct AreaNode *);
  24. Prototype BOOL EditArea(STRPTR, UWORD);
  25. Prototype BOOL EditAreaInfo(struct AreaNode *);
  26. Prototype BOOL RemoveArea(STRPTR);
  27. Prototype BOOL ListAreas(STRPTR, UWORD);
  28. Prototype BOOL PrintAreaInfo(struct AreaNode *, UBYTE);
  29. Prototype BOOL ChangePath(STRPTR);
  30. Prototype VOID CreatePath(struct AreaNode *);
  31. Prototype struct AreaNode *ChangeArea(STRPTR);
  32. Prototype STRPTR PathParse(STRPTR, STRPTR);
  33. Prototype struct AreaNode *SeekAreaName(struct AreaNode *, STRPTR);
  34. Prototype struct AreaNode *AreaSearch(STRPTR);
  35. Prototype BOOL AreaModify(STRPTR, UWORD);
  36. Prototype BOOL GlobalAreaChange(STRPTR, UWORD, UWORD, ULONG);
  37. Prototype VOID TakeASem(BOOL);
  38. Prototype VOID DropASem(VOID);
  39.  
  40. /* commands.c           */
  41.  
  42. Prototype VOID Cmd_QMARK(VOID);
  43. Prototype VOID Cmd_HILFE(VOID);
  44. Prototype VOID Cmd_BRETT(VOID);
  45. Prototype VOID Cmd_INHALT(VOID);
  46. Prototype VOID Cmd_LESEN(VOID);
  47. Prototype VOID Cmd_SCHREIBEN(VOID);
  48. Prototype VOID Cmd_ANTWORT(VOID);
  49. Prototype VOID Cmd_SHUTDOWN(VOID);
  50. Prototype VOID Cmd_UMSINFO(VOID);
  51. Prototype VOID Cmd_HISTORY(VOID);
  52. Prototype VOID Cmd_UMSDIR(VOID);
  53. Prototype VOID Cmd_AEDIT(VOID);
  54. Prototype VOID Cmd_UMSEXPIRE(VOID);
  55. Prototype VOID Cmd_USERPREFS(VOID);
  56. Prototype VOID Cmd_TEMPPREFS(VOID);
  57. Prototype VOID Cmd_PASSWORD(VOID);
  58. Prototype VOID Cmd_DELETE(VOID);
  59. Prototype VOID Cmd_DELPROT(VOID);
  60. Prototype VOID Cmd_SELECT(VOID);
  61. Prototype VOID Cmd_HIDE(VOID);
  62. Prototype VOID Cmd_PORTLIST(VOID);
  63. Prototype VOID Cmd_KMSREXX(UWORD);
  64. Prototype VOID Cmd_KMSBATCH(VOID);
  65. Prototype VOID Cmd_ECHO(VOID);
  66. Prototype VOID Cmd_LABERFILTER(VOID);
  67. Prototype VOID Cmd_VORMERKER(VOID);
  68. Prototype VOID Cmd_UEDIT(VOID);
  69. Prototype VOID Cmd_UDIR(VOID);
  70. Prototype VOID Cmd_PEDIT(VOID);
  71. Prototype VOID Cmd_PDELETE(VOID);
  72. Prototype VOID Cmd_PDIR(VOID);
  73. Prototype VOID Cmd_PUPLOAD(VOID);
  74. Prototype VOID Cmd_PDOWNLOAD(VOID);
  75. Prototype VOID Cmd_SIGEDIT(VOID);
  76. Prototype VOID Cmd_INFO(VOID);
  77. Prototype VOID Cmd_ALIAS(VOID);
  78. Prototype VOID Cmd_LOG(VOID);
  79. Prototype VOID Cmd_ACLEDIT(VOID);
  80. Prototype VOID Cmd_SYSMSG(VOID);
  81. Prototype VOID Cmd_REREAD(VOID);
  82. Prototype VOID Cmd_BITED(VOID);
  83. Prototype VOID Cmd_UPLOAD(VOID);
  84. Prototype VOID Cmd_DOWNLOAD(VOID);
  85. Prototype VOID Cmd_SCHREIBMODUS(VOID);
  86. Prototype VOID Cmd_EXEC(VOID);
  87. Prototype VOID Cmd_PAUSE(VOID);
  88. Prototype VOID Cmd_CHAT(VOID);
  89.  
  90. /* datei.c              */
  91.  
  92. Prototype LONG DirWork(STRPTR, STRPTR, UWORD);
  93. Prototype BOOL Exists(STRPTR);
  94. Prototype BOOL DirExists(STRPTR);
  95. Prototype BOOL SendFile(STRPTR, UWORD);
  96. Prototype VOID LogEntry(STRPTR);
  97. Prototype VOID SysMsg(UWORD);
  98. Prototype STRPTR GetSysMsgLine(STRPTR, STRPTR, UWORD);
  99. Prototype VOID TrimString(STRPTR);
  100. Prototype VOID SystemError(STRPTR, STRPTR);
  101. Prototype VOID FileError(STRPTR, STRPTR);
  102. Prototype BOOL Batch(STRPTR, UBYTE);
  103. Prototype BOOL BatchEdit(STRPTR);
  104. Prototype BOOL BatchDelete(STRPTR);
  105. Prototype BOOL BatchDir(VOID);
  106. Prototype BOOL AddSelEntry(UWORD);
  107. Prototype BOOL DelSelEntry(VOID);
  108. Prototype BOOL ListSelFile(VOID);
  109. Prototype BOOL ExecSelFile(UWORD);
  110. Prototype BOOL AddKillEntry(UWORD);
  111. Prototype BOOL DelKillEntry(VOID);
  112. Prototype BOOL ListKillFile(VOID);
  113. Prototype BOOL ExecKillFile(VOID);
  114. Prototype BOOL AddAliasEntry(UWORD);
  115. Prototype BOOL DelAliasEntry(VOID);
  116. Prototype BOOL ListAliasFile(VOID);
  117. Prototype VOID GetAlias(STRPTR, UWORD, UWORD);
  118. Prototype VOID WordWrap(STRPTR, UWORD, UWORD);
  119. Prototype BOOL LineEditor(STRPTR);
  120. Prototype LONG SystemCall(STRPTR);
  121. Prototype BOOL Copy(STRPTR, STRPTR, BOOL);
  122.  
  123. /* filebase.c           */
  124.  
  125. Prototype VOID Upload(UBYTE);
  126. Prototype VOID Download(UMSMsgNum, UBYTE, STRPTR);
  127. Prototype VOID XPRReceive(VOID);
  128. Prototype BOOL XPRSend(VOID);
  129. Prototype BOOL MoveBin(UMSMsgNum, struct AreaNode *, BOOL);
  130. Prototype struct Window *GetWindow(VOID);
  131. Prototype UBYTE ProtSelect(BOOL);
  132. Prototype VOID DeleteBinary(UMSMsgNum, struct AreaNode *);
  133. Prototype VOID BatchUpload(VOID);
  134. Prototype VOID MsgUpload(VOID);
  135. Prototype BOOL LocalDownload(VOID);
  136.  
  137. /* init.c               */
  138.  
  139. Prototype UBYTE OpenLib(VOID);
  140. Prototype UBYTE Identify(VOID);
  141. Prototype UBYTE OpenTimer(VOID);
  142. Prototype UBYTE OpenDisplay(VOID);
  143. Prototype VOID Sense(UBYTE);
  144. Prototype VOID TakeMSem(BOOL);
  145. Prototype VOID DropMSem(VOID);
  146.  
  147. /* inout.c              */
  148.  
  149. Prototype VOID FlushInput(VOID);
  150. Prototype VOID SetTimer(ULONG, ULONG);
  151. Prototype UBYTE Print(STRPTR, UWORD);
  152. Prototype UBYTE BreakCheck(UWORD);
  153. Prototype VOID XOff(VOID);
  154. Prototype VOID OutChar(TEXT);
  155. Prototype VOID OutBuffer(BPTR, TEXT);
  156. Prototype VOID OutString(BPTR, STRPTR);
  157. Prototype LONG CmdInput(STRPTR, UWORD, STRPTR, STRPTR, UWORD, UWORD);
  158. Prototype BOOL PlopCheck(UBYTE, UWORD);
  159. Prototype WORD InKey(WORD);
  160. Prototype WORD InKeyNew(WORD);
  161. Prototype TEXT ReadKey(VOID);
  162. Prototype UWORD CheckCSI(TEXT);
  163. Prototype BOOL StringSearch(STRPTR, STRPTR);
  164. Prototype VOID DoFKey(UWORD);
  165. Prototype ULONG MakeTime(STRPTR, time_t, time_t);
  166. Prototype VOID CursorOn(VOID);
  167. Prototype VOID CursorOff(VOID);
  168. Prototype VOID DelInputChar(UWORD);
  169. Prototype VOID InsInputChar(UWORD);
  170. Prototype VOID ChatOut(STRPTR, UWORD);
  171. Prototype VOID Error(STRPTR);
  172.  
  173. /* kms.c                */
  174.  
  175. Prototype UWORD Break(VOID);
  176. Prototype VOID wbmain(struct WBStartup *);
  177. Prototype VOID main(UWORD, STRPTR *);
  178. Prototype VOID HandleCall(VOID);
  179. Prototype VOID WaitForCall(VOID);
  180.  
  181. /* kmsconv.c            */
  182.  
  183.  
  184. /* kmscookie.c          */
  185.  
  186.  
  187. /* kmsrexx.c            */
  188.  
  189. Prototype VOID KMSRexxDisp(struct RexxMsg *, struct rexxCommandList *, STRPTR);
  190. Prototype VOID RexxErr(UWORD);
  191. Prototype VOID RexxOK(STRPTR, STRPTR);
  192. Prototype VOID Rexx_SHUTDOWN(struct RexxMsg *, LONG []);
  193. Prototype VOID Rexx_LOCKPORT(struct RexxMsg *, LONG []);
  194. Prototype VOID Rexx_UNLOCKPORT(struct RexxMsg *, LONG []);
  195. Prototype VOID Rexx_LOGIN(struct RexxMsg *, LONG []);
  196. Prototype VOID Rexx_LOGOUT(struct RexxMsg *, LONG []);
  197. Prototype VOID Rexx_OUT(struct RexxMsg *, LONG []);
  198. Prototype VOID Rexx_OUTFILE(struct RexxMsg *, LONG []);
  199. Prototype VOID Rexx_REFRESH(struct RexxMsg *, LONG []);
  200. Prototype VOID Rexx_GETMSG(struct RexxMsg *, LONG []);
  201. Prototype VOID Rexx_GETAREA(struct RexxMsg *, LONG []);
  202. Prototype VOID Rexx_GETACCESS(struct RexxMsg *, LONG []);
  203. Prototype VOID Rexx_INPUTSTR(struct RexxMsg *, LONG []);
  204. Prototype VOID Rexx_GETUSER(struct RexxMsg *, LONG []);
  205. Prototype VOID Rexx_SETUSER(struct RexxMsg *, LONG []);
  206. Prototype VOID Rexx_ADDUSER(struct RexxMsg *, LONG []);
  207. Prototype VOID Rexx_KMSEXEC(struct RexxMsg *, LONG []);
  208. Prototype VOID Rexx_LOGENTRY(struct RexxMsg *, LONG []);
  209. Prototype VOID Rexx_SETCONMODE(struct RexxMsg *, LONG []);
  210. Prototype VOID Rexx_GETCONFIG(struct RexxMsg *, LONG []);
  211. Prototype VOID Rexx_GETSESSION(struct RexxMsg *, LONG []);
  212. Prototype VOID Rexx_GETFTP(struct RexxMsg *, LONG []);
  213. Prototype VOID Rexx_GETAREALIST(struct RexxMsg *, LONG []);
  214. Prototype VOID Rexx_SPYWIN(struct RexxMsg *, LONG []);
  215. Prototype VOID ReadUserStem(struct Userdaten *, struct RexxMsg *, STRPTR);
  216. Prototype BOOL SendPortMsg(STRPTR, WORD, UWORD);
  217. Prototype BOOL ExecKMSRexx(STRPTR);
  218. Prototype VOID RexxCmdParse(STRPTR, UBYTE *, STRPTR *);
  219. Prototype BOOL CheckStack(VOID);
  220.  
  221. /* mailbox.c            */
  222.  
  223. Prototype BOOL KMSLogin(VOID);
  224. Prototype VOID HandleSession(VOID);
  225. Prototype VOID KMSLogout(VOID);
  226. Prototype BOOL YNRequest(UWORD, BOOL);
  227. Prototype BOOL ReturnRequest(VOID);
  228. Prototype BYTE MoreRequest(VOID);
  229. Prototype VOID ChitChat(STRPTR);
  230. Prototype UBYTE ChatPrint(STRPTR);
  231. Prototype VOID AutoAction(VOID);
  232. Prototype VOID LogoutUser(VOID);
  233.  
  234. /* modemio.c            */
  235.  
  236. Prototype VOID ResetModem(VOID);
  237. Prototype BOOL AnswerPhone(VOID);
  238. Prototype VOID Hangup(VOID);
  239. Prototype BOOL ModemWait(UWORD, STRPTR);
  240. Prototype VOID ModemSend(STRPTR);
  241.  
  242. /* msgbase.c            */
  243.  
  244. Prototype VOID InitUMS(VOID);
  245. Prototype BOOL CheckNewMail(VOID);
  246. Prototype BOOL ListMsgs(struct AreaNode *, UWORD);
  247. Prototype UBYTE PrintMsgInfo(UMSMsgNum, UBYTE);
  248. Prototype VOID AddSignature(VOID);
  249. Prototype VOID CreatePrivImport(STRPTR);
  250. Prototype VOID CreateComment(STRPTR, UWORD);
  251. Prototype VOID CreateResendForward(STRPTR, UWORD);
  252. Prototype VOID DeleteMsg(struct AreaNode *, UWORD);
  253. Prototype VOID MsgStatusInfo(UMSMsgNum);
  254. Prototype VOID DelProtMsg(UWORD, BOOL);
  255.  
  256. /* msgbase2.c           */
  257.  
  258. Prototype UBYTE MsgPrint(STRPTR, UWORD);
  259. Prototype BOOL HandleAttribs(STRPTR, UBYTE, ULONG *, ULONG *);
  260. Prototype UBYTE MsgParsePrint(STRPTR, UWORD);
  261. Prototype ULONG MsgSelect(UWORD, STRPTR);
  262. Prototype ULONG MarkRead(UWORD, STRPTR);
  263. Prototype BOOL CloneMsg(UMSMsgNum, struct AreaNode *, BOOL);
  264. Prototype VOID Rot13(STRPTR);
  265. Prototype UMSMsgNum NextReply(UMSMsgNum);
  266. Prototype UMSMsgNum PrevReply(UMSMsgNum);
  267. Prototype UMSMsgNum NextMsg(UMSMsgNum, UWORD);
  268. Prototype UMSMsgNum PrevMsg(UMSMsgNum, UWORD);
  269. Prototype UMSMsgNum ChainUp(UMSUserAccount, UMSMsgNum);
  270. Prototype UMSMsgNum ChainDown(UMSUserAccount, UMSMsgNum);
  271. Prototype UMSMsgNum ChainLeft(UMSUserAccount, UMSMsgNum);
  272. Prototype UMSMsgNum ChainRight(UMSUserAccount, UMSMsgNum);
  273.  
  274. /* msgbase3.c           */
  275.  
  276. Prototype UBYTE ReadMsg(UMSMsgNum, ULONG);
  277. Prototype BOOL WriteMsg(UWORD, struct AreaNode *, STRPTR, STRPTR);
  278.  
  279. /* parse.c              */
  280.  
  281. Prototype BOOL ParseArgs(VOID);
  282. Prototype BOOL ParseToolTypes(struct WBStartup *);
  283. Prototype UBYTE ParsePrint(STRPTR, UWORD);
  284. Prototype UWORD CmdParse(STRPTR, UWORD);
  285. Prototype BOOL CmdInterpreter(VOID);
  286. Prototype BOOL CmdExecute(UWORD);
  287. Prototype UWORD CmdSearch(STRPTR);
  288. Prototype BOOL CmpArg(UBYTE, STRPTR);
  289. Prototype STRPTR MsgStringParse(STRPTR, STRPTR, UWORD);
  290. Prototype STRPTR StdStringParse(STRPTR, STRPTR, UWORD);
  291. Prototype BOOL ParseRange(STRPTR);
  292. Prototype BOOL ChatInterpreter(STRPTR);
  293. Prototype BOOL ChatCmd(STRPTR);
  294.  
  295. /* rexx.c               */
  296.  
  297. Prototype ULONG upRexxPort(STRPTR, struct rexxCommandList *, STRPTR, VOID (*)());
  298. Prototype VOID dnRexxPort(VOID);
  299. Prototype VOID dispRexxPort(VOID);
  300. Prototype struct RexxMsg *sendRexxCmd(STRPTR, APTR, STRPTR, STRPTR, STRPTR, STRPTR);
  301. Prototype BOOL WaitsyncRexxCmd(STRPTR, STRPTR);
  302. Prototype VOID replyRexxCmd(struct RexxMsg *, ULONG, STRPTR);
  303. Prototype BOOL SetARexxLastError(struct RexxMsg *, STRPTR);
  304. Prototype BOOL SetARexxVarNum(struct RexxMsg *, STRPTR, STRPTR, UWORD);
  305. Prototype BOOL SetARexxVarName(struct RexxMsg *, STRPTR, STRPTR, STRPTR);
  306. Prototype BOOL GetARexxVarName(struct RexxMsg *, STRPTR *, STRPTR, STRPTR);
  307. Prototype UBYTE OpenRexxLib(VOID);
  308. Prototype VOID CloseRexxLib(VOID);
  309.  
  310. /* ums2kms.c            */
  311.  
  312.  
  313. /* user.c               */
  314.  
  315. Prototype VOID InitUser(struct Userdaten *);
  316. Prototype struct UserNode *UserCheck(STRPTR);
  317. Prototype struct UserNode *InsertUser(VOID);
  318. Prototype VOID DeleteUser(struct UserNode *);
  319. Prototype BOOL RemoveUser(STRPTR);
  320. Prototype BOOL EditUser(STRPTR);
  321. Prototype BOOL EditUserInfo(struct UserNode *, UWORD);
  322. Prototype BOOL ListUsers(STRPTR);
  323. Prototype ULONG SetAccessBits(ULONG, UWORD);
  324. Prototype VOID GlobalUserEdit(VOID);
  325. Prototype VOID ConvertSpace(STRPTR);
  326. Prototype VOID Upper(STRPTR);
  327. Prototype BOOL CreateUserDir(struct UserNode *);
  328. Prototype VOID TakeUSem(BOOL);
  329. Prototype VOID DropUSem(VOID);
  330. Prototype BOOL AddUMSUser(struct UserNode *);
  331. Prototype BOOL DelUMSUser(struct UserNode *);
  332.  
  333. /* version.c            */
  334.  
  335.